package com.cande.jni;

public class HelloWolrd {
    // 声明本地方法
    public native void sayHello(Person person);

    static {
        // 加载本地库
        System.loadLibrary("hello");
    }

    public static void main(String[] args) {
        Person person = new Person("John Doe", 30);
        new HelloWolrd().sayHello(person);
    }
}


